import * as React from 'react';
import { RouteComponentProps, withRouter } from 'react-router';

export interface INoAuthProps extends RouteComponentProps{
}

export interface INoAuthState {
}

 class NoAuth extends React.Component<INoAuthProps, INoAuthState> {
  constructor(props: INoAuthProps) {
    super(props);

    this.state = {
    }
  }

  componentDidMount() { 
  }
  public render() {
    return (
      <div className={"h-100 d-flex flex-column justify-content-center align-items-center"}>
        没有权限
        {/* <div className={"mt-2"}>
        <button type={"button"} className={"btn btn-primary mx-1"} onClick={()=>{this.props.history.goBack()}}>返回</button>
        <button type={'button'} className={"btn btn-warning mx-1"} onClick={()=>{this.props.history.push("/")}}>返回主页</button>
        </div> */}
      </div>
    );
  }
}

export default withRouter(NoAuth)